<?php
/**
 * Created by PhpStorm.
 * User: wx:wenyi2048
 * Date: 2022/3/31 0031
 * Time: 13:54
 */

namespace app\common\validate\mk;


use think\Validate;

class Comments extends Validate
{
    protected $rule = [
//        "id|评论商品"=>'require',
        "comment|评论内容" => "require",
        "star|评论星级"  => "number|between:1,5",
//        "|订单" =>'require'
    ];
}